package com.jz.community.modulemine.bean;

import java.util.List;

public class VersionBean {

    /**
     * id : 2
     * status : 0
     * version : 0
     * createTime : 2018-07-06 16:17:41
     * updateTime : 2018-07-06 16:17:41
     * operations : 1
     * appNum : 1
     * versionNum : 1.0.1
     * versionVal : 2
     * descr : ["ceshi"]
     * appLink : ceshi
     * compel : false
     * links : {"self":{"href":"http://api.shoppingyizhan.com/shp/app-versions/2"}}
     */

    private String id;
    private int status;
    private int version;
    private String createTime;
    private String updateTime;
    private int operations;
    private int appNum;
    private String versionNum;
    private String versionVal;
    private String appLink;
    private boolean compel;
    private LinksBean links;
    private List<String> descr;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getOperations() {
        return operations;
    }

    public void setOperations(int operations) {
        this.operations = operations;
    }

    public int getAppNum() {
        return appNum;
    }

    public void setAppNum(int appNum) {
        this.appNum = appNum;
    }

    public String getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(String versionNum) {
        this.versionNum = versionNum;
    }

    public String getVersionVal() {
        return versionVal;
    }

    public void setVersionVal(String versionVal) {
        this.versionVal = versionVal;
    }

    public String getAppLink() {
        return appLink;
    }

    public void setAppLink(String appLink) {
        this.appLink = appLink;
    }

    public boolean isCompel() {
        return compel;
    }

    public void setCompel(boolean compel) {
        this.compel = compel;
    }

    public LinksBean getLinks() {
        return links;
    }

    public void setLinks(LinksBean links) {
        this.links = links;
    }

    public List<String> getDescr() {
        return descr;
    }

    public void setDescr(List<String> descr) {
        this.descr = descr;
    }

    public static class LinksBean {
        /**
         * self : {"href":"http://api.shoppingyizhan.com/shp/app-versions/2"}
         */

        private SelfBean self;

        public SelfBean getSelf() {
            return self;
        }

        public void setSelf(SelfBean self) {
            this.self = self;
        }

        public static class SelfBean {
            /**
             * href : http://api.shoppingyizhan.com/shp/app-versions/2
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }
    }
}
